package com.itheimai02;

import java.util.TreeSet;

public class Work1 {
    public static void main(String[] args) {
        TreeSet<String> set = new TreeSet<>();
        set.add("Java");
        set.add("C");
        set.add("Python");
        set.add("C++");
        set.add("Visual Basic .NET");
        set.add("JavaScript");
        for (String s : set) {
            System.out.println(s);
        }
    }
}
